package com.luck.emp.entity;
/**
 * 说明:ENEITY类
 * Copyright: Copyright (c) 2011
 * 深圳**科技
 * @author 
 * 
 */
public class EmpTWhCheckD implements java.io.Serializable {
		/**
		 * pk
		 * 明细记录
		 **/
		Long id;
		/**
		 * 盘点单编码
		 **/
		String checkCode;
		/**
		 * 仓库编码
		 **/
		String whCode;
		/**
		 * 储位代码
		 **/
		String posiCode;
		/**
		 * 商品代码
		 **/
		String productCode;
		EmpTProdBase product;
		/**
		 * 库存数量
		 **/
		Long planQty;
		/**
		 * 实盘数量
		 **/
		Long confirmQty;
		/**
		 * 差异数量,<0则表示是要增加库存，盘点入库,>0则为盘点出库，减少库存
		 **/
		Long qtyDiff;
		/**
		 * 差异原因
		 **/
		String verifyMemo;
	
	public EmpTWhCheckD(){
	}
	
		public Long getId(){
			return this.id;
		}		
		public void setId(Long id){
			this.id = id;
		}
		public String getCheckCode(){
			return this.checkCode;
		}		
		public void setCheckCode(String checkCode){
			this.checkCode = checkCode;
		}
		public String getWhCode(){
			return this.whCode;
		}		
		public void setWhCode(String whCode){
			this.whCode = whCode;
		}
		public String getPosiCode(){
			return this.posiCode;
		}		
		public void setPosiCode(String posiCode){
			this.posiCode = posiCode;
		}
		public String getProductCode(){
			return this.productCode;
		}		
		public void setProductCode(String productCode){
			this.productCode = productCode;
		}
		public Long getPlanQty(){
			return this.planQty;
		}		
		public void setPlanQty(Long planQty){
			this.planQty = planQty;
		}
		public Long getConfirmQty(){
			if(this.confirmQty == null)
				return this.planQty;
			return this.confirmQty;
		}		
		public void setConfirmQty(Long confirmQty){
			this.confirmQty = confirmQty;
		}
		public Long getQtyDiff(){
			return this.qtyDiff;
		}		
		public void setQtyDiff(Long qtyDiff){
			this.qtyDiff = qtyDiff;
		}
		public String getVerifyMemo(){
			return this.verifyMemo;
		}		
		public void setVerifyMemo(String verifyMemo){
			this.verifyMemo = verifyMemo;
		}

		public EmpTProdBase getProduct() {
			return product;
		}

		public void setProduct(EmpTProdBase product) {
			this.product = product;
		}
	
	
}